/*
 * Decompiled with CFR 0.150.
 * 
 * Could not load the following classes:
 *  cn.hutool.core.util.ObjectUtil
 *  de.felixroske.jfxsupport.FXMLController
 *  javafx.fxml.FXML
 *  javafx.fxml.Initializable
 *  javafx.scene.layout.AnchorPane
 *  javafx.stage.Modality
 *  org.springframework.beans.factory.annotation.Autowired
 */
package com.gys.controller.OTO;

import cn.hutool.core.util.ObjectUtil;
import com.gys.GysApplication;
import com.gys.controller.BaseController;
import com.gys.controller.OTO.OTOController;
import com.gys.view.O2O.OTOView;
import de.felixroske.jfxsupport.FXMLController;
import java.net.URL;
import java.util.ResourceBundle;
import javafx.fxml.FXML;
import javafx.fxml.Initializable;
import javafx.scene.layout.AnchorPane;
import javafx.stage.Modality;
import org.springframework.beans.factory.annotation.Autowired;

@FXMLController
public class RemindTipController
extends BaseController
implements Initializable {
    @FXML
    private AnchorPane pane;
    @Autowired
    private OTOController otoController;

    public void initialize(URL location, ResourceBundle resources) {
        this.init();
    }

    @Override
    public void init() {
        if (ObjectUtil.isEmpty(this.pane)) {
            return;
        }
    }

    @FXML
    private void sure() {
        this.otoController.init();
        GysApplication.showView(OTOView.class, (Modality)Modality.APPLICATION_MODAL);
    }

    @FXML
    private void cancel() {
        this.pane.getScene().getWindow().hide();
    }

    public AnchorPane getPane() {
        return this.pane;
    }

    public OTOController getOtoController() {
        return this.otoController;
    }

    public void setPane(AnchorPane pane) {
        this.pane = pane;
    }

    public void setOtoController(OTOController otoController) {
        this.otoController = otoController;
    }

    public boolean equals(Object o) {
        if (o == this) {
            return true;
        }
        if (!(o instanceof RemindTipController)) {
            return false;
        }
        RemindTipController other = (RemindTipController)o;
        if (!other.canEqual(this)) {
            return false;
        }
        AnchorPane this$pane = this.getPane();
        AnchorPane other$pane = other.getPane();
        if (this$pane == null ? other$pane != null : !this$pane.equals(other$pane)) {
            return false;
        }
        OTOController this$otoController = this.getOtoController();
        OTOController other$otoController = other.getOtoController();
        return !(this$otoController == null ? other$otoController != null : !(this$otoController).equals(other$otoController));
    }

    protected boolean canEqual(Object other) {
        return other instanceof RemindTipController;
    }

    public int hashCode() {
        int PRIME = 59;
        int result = 1;
        AnchorPane $pane = this.getPane();
        result = result * 59 + ($pane == null ? 43 : $pane.hashCode());
        OTOController $otoController = this.getOtoController();
        result = result * 59 + ($otoController == null ? 43 : ($otoController).hashCode());
        return result;
    }

    public String toString() {
        return "RemindTipController(pane=" + this.getPane() + ", otoController=" + this.getOtoController() + ")";
    }
}

